package com.pswv2.backend.popularize.service;

import java.util.List;
import java.util.Map;

import com.pswv2.bub.bsc.dao.po.Popularize;
import com.pswv2.bub.bsc.dao.po.PopularizeImg;

public interface PopularizeService {
	List<Popularize> queryByState(Integer state);
	List<?> queryByUserId(Integer userId);
	List<?> queryByTitle(String title);
	Popularize queryById(Integer popularizeId);
	void editById(Integer popularizeId,String content,String address,String title,String keyDescribe1,String keyDescribe2,String keyDescribe3,
			String keyDescribe4,String keyDescribe5,String keyDescribe6,String keyDescribe7,String keyDescribe8);
	void editById(Integer popularizeId,String keyDescribe1,String keyDescribe2,String keyDescribe3,
			String keyDescribe4,String keyDescribe5,String keyDescribe6,String keyDescribe7,String keyDescribe8);
	Popularize add(Integer userId,Integer territoryId,
			String title,String address,String content);
	void delById(Integer popularizeId);
	void editById(Integer popularizeId,Integer territoryId,
			String title,String popularizeDescribe,String content);
	void editState(Integer popularizeId,Integer state);
	void addPopularizeServiceImpl(Integer popularizeId,String img);
	List<Popularize> queryAll();
	List<PopularizeImg> queryByPopularizeId(Integer popularizeId);
	Map<String,Object> queryPRByTitle(String title);
}
